<%@page import="com.mmy.domain.sys.TSysUser"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/include1.jsp"></jsp:include>
<title>员工审核</title>
</head>
<body>
	<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
			<main class="at-padding-large-bottom">
			<article>		
	<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
		<div class="page-header container">
			<h2>员工审核</h2>			
		</div>
	</header>
	<section class="container">
			<div>
				<a href="leaveinfo" >请假信息</a> |
				<a href="leavetype" >请假类型</a> 
				<hr style="FILTER: alpha(opacity=100,finishopacity=0,style=3); margin: 15px; " width=100%; color=#F9F6E5 SIZE=3></hr>
				
				<form action="" class="info-form" >
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>员工审核管理
						</h4>
				<div >
				<table class="info-table" >
					<tr>
						<th><label>员工名称</label></th>
						<td colspan="3">
						<input type="hidden" id="userID" name="UserID" value="${dbSysUSer.getUserID()}" readonly="readonly"/>
						<label>${dbSysUSer.getUserName()}</label></td>
					</tr>
				<tr>
					
						<th><label>所属公司</label></th>
						<td><label>${dbSysUSer.getOrgName()}</label></td>
						<th><label>职位</label></th>
		<td><label>${dbSysUSer.getJob()}</label></td>
				</tr>
					<tr>
						<th><label>员工证件</label></th>
						<td><label>${dbSysUSer.getCadePath()}</label></td>
						<th><label>员工类型</label></th>
						<td><c:if test="${dbSysUSer.getUserID()<=219999999}"><label>员工</label></c:if>
						<c:if test="${dbSysUSer.getUserID()<=229999999 and dbSysUSer.getUserID()>= 220000000 }"><label>导游</label></c:if>
						<c:if test="${dbSysUSer.getUserID()<=239999999 and dbSysUSer.getUserID()>= 230000000 }"><label>司机</label></c:if>
						<c:if test="${dbSysUSer.getUserID()<=249999999 and dbSysUSer.getUserID()>= 240000000 }"><label>主播</label></c:if></td>
					</tr>
					<tr>
					<th>
							<input type="checkbox" id="ckall" name="ckall" onclick="ckAll(this);">角色</input>
						</th>
						<td colspan="3">
						<c:forEach items="${lstConstRole}" var="lstConstRole" varStatus="status">
<input type="checkbox" id="staffRole${status.index }" name="ckone" value="${lstConstRole.getRoleID()}" onclick="ckOne(this)" >
<label for="staffRole${status.index }">${lstConstRole.getRoleName()}</label>

</c:forEach>
</td>
</tr>				
</table>
				<center>
				<input type="submit" class="btn" value="通过审核" onclick="updateReview()"/>
				
				<input type="button" class="btn" value="返回" onclick="rehidder()"/>
				</center> 
				</div>
				</form>
			</div>
			</section>
			</article>
			</main>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
		</div>
</body>
</html>